.main {
  height: 100%;
  width: 100%;
  margin: 0px !important;
}
.main_box {
  width: 100%;
  height: 100%;
  display: flex;
}
.el-header {
  background-color: #e0e0e0;
  display: flex;
  color: #333;
  display: flex;
  line-height: 60px;
  .hleft {
    flex: 1;
    text-align: left;
  }
  .hcenter {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hright {
    flex: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    .drawer {
      display: inline-block;
      position: relative;
      width: 40px;
      height: 40px;
      background: $ar_color;
      border-radius: 5px;
      display: flex;
      justify-content: center;
      align-content: center;
      margin-right: 10px;
      .icon-gonggao {
        color: white;
        font-size: 20px;
        transform: translateY(-8px);
      }
    }
    .drawer:hover {
      cursor: pointer;
    }
    .backend {
      display: inline-block;
      position: relative;
      width: 40px;
      height: 40px;
      background: $ar_color;
      border-radius: 5px;
      display: flex;
      justify-content: center;
      align-content: center;
      .icon-houtai {
        color: white;
        font-size: 20px;
        transform: translateY(-8px);
      }
    }
    .backend:hover {
      cursor: pointer;
    }
    .exit:hover {
      cursor: pointer;
    }
    .exit {
      margin-left: 10px;
      display: inline-block;
      position: relative;
      margin-right: 5px;
      width: 40px;
      height: 40px;
      background: $ar_color;
      border-radius: 5px;
      display: flex;
      justify-content: center;
      align-content: center;
      .icon-tuichu {
        color: white;
        font-size: 20px;
        transform: translateY(-8px);
      }
    }
  }
  .htop {
    display: none;
  }
  .hbottom {
    display: none;
  }
}

.aside {
  background-color: white;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 370px;
  .bg_img {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    img {
      height: 100%;
      object-fit: cover;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .bg {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
  }
  .aside_left {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.el_right {
  flex: auto;
  height: 100%;
}
.el-main {
  height: calc(100% - 60px);
  color: #333;
  display: flex;
  padding: 0px;
  justify-content: center;
}
.el-footer {
  height: 60px;
  padding: 0px;
}
.htitle {
  height: 40px;
  line-height: 40px;
  display: inline-block;
  color: rgb(255, 255, 255);
  background: $ar_color;
  padding: 0px 10px;
  margin: 0 10px;
  vertical-align: middle;
  border-radius: 5px;
}
.icon-paixu {
  font-size: 20px;
}
body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.timelinebox {
  height: 600px;
}
.el-drawer {
  h2 {
    margin: 20px;
    font-size: 18px;
  }
}
.el-timeline {
  margin: 20px;
  p {
    line-height: 25px;
  }
}
.sdage {
  position: absolute;
  top: -10px;
  right: -10px;
  color: white;
  background: red;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .main {
    height: 100vh;
    width: 100vw;
  }
  .main_box {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  .el-header {
    height: 5.75rem !important;
  }
  .aside {
    display: none;
  }
  .el_right {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .el-main {
    box-sizing: border-box;
    width: 100vw;
    height: calc(100vh - 5.75rem - 3.125rem);
    overflow: hidden;
    padding: 0px;
    background: white;
  }
  .el-header {
    padding: 0;
    flex-wrap: wrap;
    .hleft {
      display: none;
    }
    .hcenter {
      display: none;
    }
    .hright {
      display: none;
    }
    .htop {
      width: 100%;
      background: white;
      height: 3.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .hsearch {
        height: 100%;
        display: flex;
        align-content: center;
        margin: 0.5rem 0.8rem 0.5rem 0.5rem;
      }
      .huser {
        display: flex;
        height: 100%;
        margin-right: 0.5rem;
        .title {
          flex: 1;
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 0 0.5em;
        }
        .imgbox {
          flex: 1;
          display: flex;
          justify-content: center;
          align-items: center;
          .userphoto {
            width: 2.5rem;
            height: 2.5rem;
            overflow: hidden;
            border-radius: 0.375rem;
            img {
              width: 100%;
              height: 100%;
            }
          }
        }
      }
    }
    .hbottom {
      display: block;
      width: 100%;
      height: 2.5rem;
      background: rgb(238, 238, 238);
      color: rgb(0, 0, 0);
      box-sizing: border-box;
      border-top: 0.0625rem solid #ccc;
      border-bottom: 0.0625rem solid #ccc;
      ul {
        height: 2.5rem;
        display: flex;
        list-style: none;
        li {
          height: 100%;
          flex: 1;
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
    }
  }
  .htitle {
    height: 40px;
    line-height: 40px;
    display: inline-block;
    color: rgb(255, 255, 255);
    background: #409eff;
    padding: 0px 10px;
    margin: 0 10px;
    vertical-align: middle;
    border-radius: 5px;
  }
  .timelinebox {
    height: 600px;
  }
  /deep/ .el-drawer {
    width: 80% !important;
    h2 {
      margin: 20px;
      font-size: 18px;
    }
  }
  .el-timeline {
    margin: 20px;
    p {
      line-height: 25px;
    }
  }
}
@media (min-width: 600px) {
  .main {
    min-width: 1200px;
  }
}
@media (min-width: 1920px) {
  .aside {
    width: 30%;
    max-width: 450px;
  }
}
/deep/ .el-select .el-input.is-focus .el-input__inner {
  border-color: $ar_color;
}
/deep/ .el-select-dropdown__item.selected {
  background: $ar_color !important;
}
